package com.eastedu.report.common.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 整体概述 - 教师资源应用情况 - 教师角色资源使用情况
 *
 * @author luozhenzhong
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "t_teacher_identity_resource_usage")
@TableName("t_teacher_identity_resource_usage")
public class TeacherIdentityResourceUsagePO extends CommonDimensionEntity {

    @Column(name = "`role_identity`", columnDefinition = "int comment '教师身份：0教师,1保密员,2校管'")
    private Integer roleIdentity;

    @Column(name = "`teacher_number`", columnDefinition = "int comment '使用了资源的教师数'")
    private Integer teacherNumber;

    @Column(name = "`teacher_rate`", columnDefinition = "double  comment '使用了资源的教师占比'")
    private Double teacherRate;

}
